package com.aspose.cells;

class zbzr extends zcdb {
   zbzr(zbmb var1) {
      if (!var1.b && !var1.c) {
         this.d = 25;
      } else {
         this.d = 32;
      }

      short var2 = 8;
      if (var1.b || var1.c) {
         var2 = (short)(var2 + 6);
      }

      this.c = new byte[var2];
      DateTime var3 = (DateTime)var1.a;
      byte var4 = 0;
      System.arraycopy(com.aspose.cells.b.a.zc.a(var3.getYear()), 0, this.c, var4, 2);
      int var5 = var4 + 2;
      System.arraycopy(com.aspose.cells.b.a.zc.a(var3.getMonth()), 0, this.c, var5, 2);
      var5 += 2;
      System.arraycopy(com.aspose.cells.b.a.zc.a(var3.getDay()), 0, this.c, var5, 1);
      ++var5;
      System.arraycopy(com.aspose.cells.b.a.zc.a(var3.getHour()), 0, this.c, var5, 1);
      ++var5;
      System.arraycopy(com.aspose.cells.b.a.zc.a(var3.getMinute()), 0, this.c, var5, 1);
      ++var5;
      System.arraycopy(com.aspose.cells.b.a.zc.a(var3.getSecond()), 0, this.c, var5, 1);
      ++var5;
      if (var1.b) {
         this.c[8] = 2;
      }

      if (var1.c) {
         this.c[var5] = (byte)(this.c[var5] | 1);
      }

   }
}
